Skip to content

Use generic default C/C++ tool names#92

Merged
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:generic-default-compiler-tools
Nov 21, 2025
Merged

Use generic default C/C++ tool names#92
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:generic-default-compiler-tools

Conversation

@chrisnovakovic
Copy link
Contributor

Most systems install their default C and C++ compilers to cc and c++ respectively in a directory in PATH. Use these compilers as the default C and C++ tools, rather than assuming gcc and g++ are present in PATH (this is fudged on macOS, where /usr/bin/gcc and /usr/bin/g++ are actually Apple Clang, and doesn't hold at all on FreeBSD).

Most systems install their default C and C++ compilers to `cc` and `c++`
respectively in a directory in `PATH`. Use these compilers as the
default C and C++ tools, rather than assuming `gcc` and `g++` are
present in `PATH` (this is fudged on macOS, where `/usr/bin/gcc` and
`/usr/bin/g++` are actually Apple Clang, and doesn't hold at all on
FreeBSD).
@chrisnovakovic chrisnovakovic merged commit bf0d9e2 into please-build:master Nov 21, 2025
28 checks passed
@chrisnovakovic chrisnovakovic deleted the generic-default-compiler-tools branch November 21, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants